﻿using System;

namespace FileTransfer.Except
{
    public class TransferException : Exception
    {
        public int ErrorCode { get; private set; }
        public TransferException() { }
        public TransferException(int errorCode, string message) : base(message)
        {
            ErrorCode = errorCode;
        }

        public TransferException(int errorCode, string message, Exception innerException) : base(message, innerException)
        {
            ErrorCode = errorCode;
        }
    }
}
